package com.ln.lnzw.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.ln.lnzw.R;
import com.ln.lnzw.bean.NewImplementationSubjectBean;

import java.util.List;

/**
 * Created by wuwei on 2018/4/2.
 */

public class ImplementationSubjectAdapter extends BaseQuickAdapter<NewImplementationSubjectBean.ResultBean,BaseViewHolder> {

    public ImplementationSubjectAdapter(int layoutResId, @Nullable List<NewImplementationSubjectBean.ResultBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, NewImplementationSubjectBean.ResultBean item) {
       helper.setText(R.id.name,item.getGroupName());
    }
}
